<!Doctype html>
<html>

<head>
    <title>oixan的博客</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html" ; charset="utf-8">
    <link rel="stylesheet" type="text/css" href="../css/blog.css">
    <link rel="stylesheet" type="text/css" href="./bcss/swiper.min.css">
</head>

<body>
    <div class="head">
        <div class="headnav">
            <div class="naveframe">
                <ul class="navlist">
                    <li>
                        <a href="../index.html">
                            主页
                        </a>
                    </li>
                    <li>
                        <a href="../bloglist.html">
                            博客
                        </a>
                    </li>
                    <li>
                        <a href="../about.html">
                            关于
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="headtext">
            <div class="headtext1">世界很简单，人类很复杂。</div>
            <div class="headtext2">浮生若梦，寻寻觅觅。</div>
        </div>
    </div>

    <div class="contents-all">
        <div class="contents">

            <div class="frame">
                <div class="title">
                    <h3>css轮播图片</h3>
                </div>
                <div class="dtime">时间：2018-06-13</div>
                <div class="detail">

                    <style>
                    </style>
                    <p>css轮播图片，低版本浏览器看不了。</p>
                    <style>
                        .lb {
                            position: relative;
                            width: 100%;
                            height: 600px;
                        }


                        img {
                            position: absolute;
                            height: 100%;
                            width: auto;
                            opacity: 0;
                            animation: lbimg 12s infinite;
                            -webkit-animation: lbimg 12s infinite;
                           
                        }

                        @keyframes lbimg {
                            0% {
                                opacity: 0
                            }
                            5% {
                                opacity: 1
                            }
                            30% {
                                opacity: 1
                            }
                            40% {
                                opacity: 0
                            }
                        }
                         @-webkit-keyframes lbimg {
                            0% {
                                opacity: 0
                            }
                            5% {
                                opacity: 1
                            }
                            30% {
                                opacity: 1
                            }
                            40% {
                                opacity: 0
                            }
                        }
                       

                        img:nth-child(0) {
                            animation-delay: 0s
                        }

                        img:nth-child(1) {
                            animation-delay: 3s
                        }

                        img:nth-child(2) {
                            animation-delay: 6s
                        }

                        img:nth-child(3) {
                            animation-delay: 9s
                        }

                        @media screen and (max-width: 700px) {
                            .lb img {
                                width: 100%;
                            }
                        }
                    </style>
                    <div class="lb">
                        <img src="../img/blogimg/20180613c1.jpg"></img>
                        <img src="../img/blogimg/20180613c2.jpg"></img>
                        <img src="../img/blogimg/20180613c3.jpg"></img>
                        <img src="../img/blogimg/20180613c4.jpg"></img>
                    </div>


                </div>
                <a href="javascript:void(0)" onclick="showPg()">返回</a>
            </div>


        </div>
    </div>
    <div class="footer">
        <div class="footertext">©2018,oixan博客</div>
    </div>
    <span id="backtop" onclick="topFunction()">返回顶部</span>
    
</body>
<script src="../js/fanhuiye.js"></script>
</html>